<?php

/**
 * 
 * 
 */
class TModel extends CActiveRecord{
	const PAGESIZE = 20;
	public $userInfo = array();
	public $appType;
	public $appDesc;
	public function __construct($scenario = 'insert') {
		parent::__construct($scenario);
		$this->initData();
	}
	
	public function initData(){
		$this->userInfo = Yii::app()->session['user_info'];
		$this->appType = array('0' => 'Normal', '1' => 'Team','2' => 'Club','3' => 'Mentor');
		$this->appDesc = InitModel::getExpType();
	}
}
?>
